package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 贴吧表
 *
 * @TableName soc_bard
 */
@TableName(value = "soc_bard")
@Data
public class SocBard implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 吧id
     */
    @TableId(type = IdType.AUTO)
    private Integer bardId;
    /**
     * 吧名
     */
    private String bardName;
    /**
     * 校园
     */
    private String schoolId;
    /**
     * 创建者id
     */
    private String userId;
    /**
     * 封面
     */
    private String cover;
    /**
     * 描述
     */
    private String description;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 状态
     */
    private Integer status;

}
